home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 44
/
PC Gamer IT CD 44 2-2.iso
/
peacemaker
/
Peacemaker
/
data
/
SKYTEX.DAT
< prev
next >
Wrap
Text File
|
1999-03-10
|
7KB
|
212 lines
"COLOMBIA"
"Sun" "sun.sur"
"Sun angle (in degrees)" 45
"Sun_size (in m)" 800
"Sun_height (in m)" 4000
"QUARTER_MOON" "moon.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 10 "Max Alpha(0-255):" 70
"HALF_MOON" "moon2.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 80
"THREE_QUARTER_MOON" "moon3.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 90
"FULL_MOON" "moon4.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 30 "Max Alpha(0-255):" 100
"CLEAR"
"Sky texture" "NONE"
"Skytop texture" "NONE"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 700
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"FINE"
"Sky texture" "skytopc.sur"
"Skytop texture" "skytopc.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 700
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"OVERCAST"
"Sky texture" "sky2c.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"RAIN"
"Sky texture" "sky2c.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"STORM"
"Sky texture" "sky2c.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"INCOMING STORM"
"Sky texture" "sky2c.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"SNOW"
"Sky texture" "sky3.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"FOG"
"Sky texture" "skytopc.sur"
"Skytop texture" "skytopc.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 700
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"RUSSIA"
"Sun" "sun.sur"
"Sun angle (in degrees)" -45
"Sun_size (in m)" 800
"Sun_height (in m)" 4000
"QUARTER_MOON" "moon.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 10 "Max Alpha(0-255):" 70
"HALF_MOON" "moon2.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 80
"THREE_QUARTER_MOON" "moon3.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 90
"FULL_MOON" "moon4.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 30 "Max Alpha(0-255):" 100
"CLEAR"
"Sky texture" "NONE"
"Skytop texture" "NONE"
"Tile size (in m)" 3000
"Num tiles along sky" 5
"Tile factor" 1
"Cloud top (in m)" 700
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"FINE"
"Sky texture" "skytopr.sur"
"Skytop texture" "skytopr.sur"
"Tile size (in m)" 3000
"Num tiles along sky" 5
"Tile factor" 1
"Cloud top (in m)" 700
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"OVERCAST"
"Sky texture" "sky2r.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"RAIN"
"Sky texture" "sky2r.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"STORM"
"Sky texture" "sky2r.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"INCOMING STORM"
"Sky texture" "sky2r.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"SNOW"
"Sky texture" "sky3.sur"
"Skytop texture" "sky3.sur"
"Tile size (in m)" 5000
"Num tiles along sky" 3
"Tile factor" 1
"Cloud top (in m)" 725
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
"FOG"
"Sky texture" "skytopr.sur"
"Skytop texture" "skytopr.sur"
"Tile size (in m)" 3000
"Num tiles along sky" 5
"Tile factor" 1
"Cloud top (in m)" 700
"Cloud bottom (in m)" 695
"Horizon Offset (in m)" 0
#Comments
extern void setup_sky(sSInt height, // altitude of cloud base
sSInt topheight, // altitude of cloud top
sSInt tile_size, // size of tile
sSInt size, // number of tiles down the side
sUInt tile_factor, // number of times the texture is tiled on a tile - <1 forced use of old method
char *name, // name of texture
sSInt dx, // wind vector
sSInt dy);
// Defaults will be used if 0 is passed to any of the first four parameters.
//
// If tile_factor if less than or equal to zero, the old method of setting up
// sky will be used, where polygons are added and removed from the egde of the
// shape with movememt. A value of one, will cause the shape to be set up the
// same as before, with the same number of polys (size*size), but cloud movement
// relative to the viewer will be done by moving the texture coordinates, and
// keeping the shape stationary relative to the viewer. a value of > 1 will
// use this method, and also repeat the texture the specified number of times
// in the polygon. It is recomended that the sky shape be made of at least 4
// polys (size=2) to avoid problems with mipmapping and fogging on 1 very large
// poly. NB tile_size specifies the size of each sky poly, not the tiled texture
// on it.
// extern void setup_sky_fringe(sSInt height, sUInt width_shift, char *name, sBool state);
// Should be called before setup_sky to add an octaganal fringe to the sky polygon
// height is the y size (nb not altitude) of the fringe. width_shift dictates how
// far back the bottom points of the shape will extend (as a proportion of the size
// of the whole sky shape eg 1 will add 50%, 2 25% etc). Name is the name of the .sur
// file to be used to texture the fringe. This should have no mips and be rectangular
// (eg 256x64). State should be set to TRUE to activate, and FALSE to switch off.